package top.meeting.room.common.model;

import top.meeting.room.baseModel.BaseFiles;

/**
 * 我有故事，你有酒么？
 * JKhaled created by yunqisong@foxmail.com 2017/7/30
 * FOR : FilesBean
 */
public class Files extends BaseFiles<Files> {
    public static final Files dao = new Files().dao();

    /**
     *
     * @param files
     * @return
     */
    public static Files saveFiles(Files files){
        files.save();
        files.setOrders(files.getId()).update();
        return  files;
    }
}
